package com.chinacoal.microservice.fallback;

import java.util.List;

import javax.servlet.http.HttpServletResponse;

import org.springframework.stereotype.Component;

import com.chinacoal.microservice.AssessmentClient;
import com.chinacoal.microservice.pojo.AssessmentStatistics;
import com.chinacoal.microservice.pojo.CcmsSmartleasingAssessment;
import com.chinacoal.microservice.pojo.CcmsSmartleasingAssessmentScore;
import com.chinacoal.microservice.util.CodeMsg;
import com.chinacoal.microservice.util.QueryCriteria;
import com.chinacoal.microservice.util.Result;

/**
 * 考核模块-考核管理回退类
 * @author wiilead
 *
 */
@Component
public class AssessmentClientFallback implements AssessmentClient{

	@Override
	public Result addOrUpdateAssessment(CcmsSmartleasingAssessment assesment, String token) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.METHOD_NOT_SUPPORTED);
	}

	@Override
	public Result<List<CcmsSmartleasingAssessment>> getAssessmentList(QueryCriteria queryCriteria,String token) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.METHOD_NOT_SUPPORTED);
	}

	@Override
	public Result<CcmsSmartleasingAssessment> getAssessmentInfo(String assessmentId,String token) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.METHOD_NOT_SUPPORTED);
	}

	@Override
	public Result deleteAssessmemt(String assessmentId) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.METHOD_NOT_SUPPORTED);
	}

	@Override
	public Result addAssessmentScore(List<CcmsSmartleasingAssessmentScore> assesmentScoreList, String token) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.METHOD_NOT_SUPPORTED);
	}

	@Override
	public Result<List<AssessmentStatistics>> statisticsAssessmentList(QueryCriteria queryCriteria) {
		// TODO Auto-generated method stub
		return Result.error(CodeMsg.METHOD_NOT_SUPPORTED);
	}

	@Override
	public void exportExcel(HttpServletResponse response) throws Exception {
		// TODO Auto-generated method stub
		Result.error(CodeMsg.METHOD_NOT_SUPPORTED);
	}

}
